// 处理失败的情况
const MyPromise = require("./MyPromise");

class MyPromise {
  static catch(failCB) {
    return this.then(undefined, failCB);
  }
}
